C (88/254)

From:andrewmarkwell
Date:23 Apr 00 at 12:25:59
Subject:RE: Minterms

On Sat, 22 Apr 2000 19:44:03 +0000, Daithi O'Cuinn
<docuinn@cluke.demon.co.uk> wrote:
> Hello Kelly
>
> On 22-Apr-00, Kelly Samel wrote:
>
> > I believe that the minterm for a direct copy is 0xC0
>
> Thanks, but I find myself stumbling into another problem now - it's s
> o awfully
> slow!
> I am trying to do a tile based map scroller, which updates x and y po
> sitions
> depending on two scroll bars. My method was to have a bitmap that I w
> ould
> write to, then use BltBitMapRastPort to copy the relevant section int
> o my
> windows rastport when the scrollers were updated, but this is far too
> slow to
> be usable. Does anyone know how to a speedy method of achieving this?

I have a similar problem, I use this method too - for scrolling
purposes I use ClipBlit() iwhich seems slightly faster than
BltBitMapRastPort() (it's still not Mika Hakkinen tho :/ ). I read
somewhere about a utility that forces all blitting operations to be
done by the CPU instead of the hardware blitter, but I've forgotten
what it was called. I think it'll make a big difference though,
because WinUAE has this option and my program performs very well using
ClipBlit() under UAE.

Andrew Markwell
"Save shipbuilding on the Tyne"

------------------------------------------------------------------------
Join Garden.com's affiliate program and enjoy numerous benefits.
To learn more click here:
http://click.egroups.com/1/2753/1/_/451227/_/956490068/
------------------------------------------------------------------------